import { IPSAjaxControlParam } from './ipsajax-control-param';
import { PSControlParamImpl } from './pscontrol-param-impl';

export class PSAjaxControlParamImpl extends PSControlParamImpl implements IPSAjaxControlParam {
  get autoLoad(): boolean {
    return this.M.autoLoad;
  }

  get showBusyIndicator(): boolean {
    return this.M.showBusyIndicator;
  }

  get cls(): string {
    return 'PSAjaxControlParamImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'control.IPSAjaxControlParam') return true;
    return super.instanceof(cls);
  }
}
